﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ICSharpCode.MSSQLExtensions
{

    public class FoldValue
    {
        private string m_StartWord;
        private string m_EndWord;
        public FoldValue(string strStartWord, string strEndWord)
        {
            m_StartWord = strStartWord;
            m_EndWord = strEndWord;
        }

        public bool IsValidStart(string strValue) {
            return strValue.ToLower().Equals(m_StartWord.ToLower());
        }
        public bool IsValidEnd(string strValue)
        {
            return strValue.ToLower().Equals(m_EndWord.ToLower());
        }

    }
}
